﻿:root {
    --gtc-primary: #1B3F2F;
    --gtc-gold: #C5A059;
    --gtc-bg: #f4f7f6;
    --gtc-white: #ffffff;
    --gtc-text: #333;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Lato', sans-serif;
    background-color: var(--gtc-bg);
}

.gtc-chat-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* --- SIDEBAR DESIGN --- */
.gtc-sidebar {
    width: 350px;
    background: var(--gtc-primary);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    position: relative;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}

.gtc-brand {
    text-align: center;
    z-index: 2;
}

.gtc-brand-icon {
    font-size: 50px;
    color: var(--gtc-gold);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.3));
}

.gtc-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 0;
}

.gtc-subtitle {
    color: var(--gtc-gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.gtc-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gtc-gold), transparent);
    margin: 25px 0;
}

.gtc-info {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e0;
    font-weight: 300;
}

.gtc-contact-info {
    margin-top: auto;
}

.gtc-contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
}

    .gtc-contact-row:hover {
        background: rgba(255,255,255,0.1);
    }

.gtc-icon-circle {
    width: 40px;
    height: 40px;
    background: var(--gtc-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gtc-primary);
}

.gtc-label {
    display: block;
    font-size: 11px;
    color: var(--gtc-gold);
    text-transform: uppercase;
}

.gtc-value {
    font-size: 14px;
    font-weight: bold;
}

/* --- MAIN CHAT AREA --- */
.gtc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.gtc-header {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fff;
    z-index: 10;
}

.gtc-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gtc-profile-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gtc-gold);
}

.gtc-profile-name {
    font-weight: 700;
    color: var(--gtc-primary);
    font-size: 16px;
}

.gtc-status {
    font-size: 12px;
    color: #27ae60;
}

.gtc-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background-image: radial-gradient(#C5A059 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gtc-encryption-note {
    text-align: center;
    margin-bottom: 20px;
}

.gtc-encryption-badge {
    background: #eef2f1;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    color: #777;
}

/* --- MESSAGE BUBBLES --- */
.gtc-msg-wrapper {
    display: flex;
    width: 100%;
}

.gtc-align-left {
    justify-content: flex-start;
}

.gtc-align-right {
    justify-content: flex-end;
}

.gtc-msg-bubble {
    max-width: 65%;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gtc-align-left .gtc-msg-bubble {
    background: var(--gtc-white);
    color: var(--gtc-text);
    border-bottom-left-radius: 2px;
    border: 1px solid #eee;
}

.gtc-align-right .gtc-msg-bubble {
    background: var(--gtc-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.gtc-time {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.7;
    text-align: right;
}

/* --- FOOTER INPUT --- */
.gtc-footer {
    padding: 20px 30px;
    background: #fff;
    border-top: 1px solid #eee;
}

.gtc-input-group {
    display: flex;
    background: #f0f2f5;
    padding: 8px 15px;
    border-radius: 30px;
    align-items: center;
    gap: 10px;
}

.gtc-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    outline: none;
    font-size: 15px;
}

.gtc-btn-send {
    background: var(--gtc-primary);
    color: var(--gtc-gold);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gtc-btn-send:hover {
        transform: scale(1.1) rotate(-10deg);
        background: #143024;
    }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .gtc-sidebar {
        display: none; /* Mobile par sidebar hide */
    }
}
